var React = require('react');
var NavLink = require('./NavLink');

var Repos = React.createClass({
	render:function(){
		return (
			<div>
	        <h2>Repos</h2>
	        <ul>
	          <li><NavLink to="/repos/reactjs/react-router">React Router</NavLink></li>
	          <li><NavLink to="/repos/facebook/react">React</NavLink></li>
	        </ul>
	        {this.props.children}
	      </div>
		)
	}
})

module.exports = Repos;